package com.chen.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class VmVo {
    private String id;
    private Integer vmType;
    private String innerCode;
    private String nodeId;
    private Integer vmStatus;
    private LocalDateTime lastSupplyTime;
    private Integer businessId;
    private String regionId;
    @Builder.Default
    private Boolean fault = false;
    private NodeVo node;
    private RegionVo region;
    private VmTypeVo type;
    private String ownerName;
    @Builder.Default
    private Map<String, Boolean> status = new HashMap<>();
}
